package com.bw.entity;

import lombok.Data;

@Data
public class Teacher {

    private String name;
    private Integer age;
    private Student student;

    public Teacher() {
    }

    public Teacher(String name, Integer age, Student student) {
        this.name = name;
        this.age = age;
        this.student = student;
    }
}
